#pragma once
#include <vector>
#include <string>
using namespace std;
typedef vector< vector<string> > x2Dmatrix;

struct xy
{
	int x;
	int y;
};
typedef struct xy Pair_xy;

/********Ma Tran*****************/
class MaTran
{
protected:
	x2Dmatrix matrix;
	Pair_xy matrix_size;
public:
	void init(int,int);
	friend istream& operator >> (istream& inDevice,MaTran &a);
	friend ostream& operator << (ostream& outDevice,MaTran &a);	 	
	Pair_xy size();
	string& operator ()(int,int);
};
